import { ApiModelProperty } from '@nestjs/swagger';

export class RegisterDto {
  @ApiModelProperty({
    example: 'seebin',
    description: '用户名'
  })
  username: string;

  @ApiModelProperty({
    example: '123456',
    description: '密码'
  })
  password: string;

  @ApiModelProperty({
    example: '123456@qq.com',
    description: '邮箱'
  })
  email?: string;

  @ApiModelProperty({
    example: '张三',
    description: '姓名'
  })
  name?: string;
}
